package utilities;


import java.io.BufferedWriter;
import java.io.IOException;
import java.util.*;
import java.lang.reflect.*;

public class WaveEngine extends Engine {


	public WaveEngine()
	{
	}
	
	public WaveEngine(String name, BufferedWriter log, List actionList,
			Object configData, int sleeps, EngineCommander commander) {

		
		super(name, log, actionList, configData, sleeps, commander);
	}

	public void playWave(String filename)
	{
		new PlayWave(filename).start();
	}
	
	
	public void close()
	{
		try {
			log.write("Stopping Engine\n");
			log.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	
}
